# 基础镜像
FROM openjdk:19-jdk-alpine

LABEL authors="热伊木"
LABEL email="uyevan@163.com"

# 工作目录
WORKDIR /app
# 复制jar包
COPY target/note-comment-1.0.0.jar .
# 暴露端口
EXPOSE 8085
# 运行指令
ENTRYPOINT ["java","-jar","/app/note-comment-1.0.0.jar","--spring.prifiles.active=prod"]